package com.saber.analyzerException;

import com.alibaba.fastjson.JSONObject;
import com.saber.bean.User;

/**
 * @author Administrator
 *
 */
public class AnalyzerException {

	private User user;

	private boolean successFlg;

	/**
	 * 数据源分析处理
	 * @param json
	 * @param type
	 */
	protected void analyzerJson(JSONObject json){
		System.out.println("Default analyzerJson");
	};

	/**
	 * 创建异常处理
	 */
	protected void createException(){
		System.out.println("Default createException");
	};

	/**
	 * 后处理
	 */
	protected void afterExecute(){
		System.out.println("Default AfterExecute");
	};

	/**
	 * user
	 * @return the user
	 */
	public User getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * successFlg
	 * @return the successFlg
	 */
	public boolean isSuccessFlg() {
		return successFlg;
	}

	/**
	 * @param successFlg the successFlg to set
	 */
	public void setSuccessFlg(boolean successFlg) {
		this.successFlg = successFlg;
	};
}
